

/**
 * des: 将以下组件注册为全局组件
 * date: 2018/06/28
 * version: v1
 * author: XGP
 */
import Vue from 'vue'
import Text from './form/item/text.vue'
import Radio from './form/item/radio.vue'
import Role from './form/item/role.vue'
import Org from './form/item/org.vue'
import Date from './form/item/date.vue'
import Time from './form/item/time.vue'
import Selected from './form/item/selected.vue'
import DateTime from './form/item/date-time.vue'
import Month from './form/item/month.vue'
import Years from './form/item/years.vue'
import Table from './form/item/table.vue'
import User from './form/item/user.vue'
import UserTree from './form/item/user-tree.vue'
import ContractCompany from './form/item/contract-company.vue'
import File from './form/item/file.vue'
import Editor from './form/item/editor.vue'
import Email from './form/item/email.vue'
import Number from './form/item/number.vue'
import Age from './form/item/age.vue'
import TimeRange from './form/item/time-range.vue'
import Br from './form/item/br.vue'

import BfTable from './bf-table.vue'
import TableEdit from './form/table-edit.vue'
import TableDetail from './form/table-detail.vue'
import TableSearch from './form/table-search.vue'
import TableAdd from './form/table-add.vue'
import TopMenu from './bf-top-menu.vue'
import RolePermission from './form/item/rolepermission.vue'
import BfOrg from './bf-org.vue'
import DialogForm from './form/dialog-form.vue'
import selectbyurl from './form/item/selectbyurl.vue'
import textarea from './form/item/textarea.vue'
import SelectAllUrl from './form/item/select-all-url.vue'
import checkboxRole from './form/item/checkbox-role.vue'
import ToggleLogin from './bf-toggle-login.vue'
import ChangePwd from './bf-change-pwd.vue'

// register globally

Vue.component('bf-form-text', Text)
Vue.component('bf-form-radio', Radio)
Vue.component('bf-form-role', Role)
Vue.component('bf-form-org', Org)
Vue.component('bf-form-date', Date)
Vue.component('bf-form-date-time', DateTime)
Vue.component('bf-form-time', Time)
Vue.component('bf-form-selected', Selected)
Vue.component('bf-form-month', Month)
Vue.component('bf-form-year', Years)
Vue.component('bf-form-table', Table)
Vue.component('bf-form-user', User)
Vue.component('bf-form-user-tree', UserTree)
Vue.component('bf-form-contract-company', ContractCompany)
Vue.component('bf-form-file', File)
Vue.component('bf-form-editor', Editor)
Vue.component('bf-form-email', Email)
Vue.component('bf-form-number', Number)
Vue.component('bf-form-age', Age)
Vue.component('bf-form-time-range', TimeRange)
Vue.component('bf-form-br', Br)

Vue.component('bf-table', BfTable)
Vue.component('bf-table-edit', TableEdit)
Vue.component('bf-table-detail', TableDetail)
Vue.component('bf-table-search', TableSearch)
Vue.component('bf-table-add', TableAdd)
Vue.component('bf-top-menu', TopMenu)
Vue.component('bf-form-rolepermission', RolePermission)
Vue.component('bf-org', BfOrg)
Vue.component('bf-dialog-form', DialogForm)
Vue.component('bf-form-selectbyurl', selectbyurl)
Vue.component('bf-form-textarea', textarea)
Vue.component('bf-form-select-all-url', SelectAllUrl)
Vue.component('bf-form-checkbox-role', checkboxRole)
Vue.component('bf-toggle-login', ToggleLogin)
Vue.component('bf-change-pwd',ChangePwd)




